import React, {Component} from 'react';
import {
    StyleSheet,
    Text,
    View,
    Image,
    Dimensions,
    ListView,
    TouchableOpacity,
    StatusBar,
    Platform
} from 'react-native';

const {height, width} = Dimensions.get('window');
export default class AuditPage extends Component {
    constructor(props) {
        super(props);
        this.state = {

        }
    };

    render() {
        return (
            <View style={styles.container}>
                <StatusBar
                    backgroundColor="black"
                    barStyle="light-content"
                />
                <View style={styles.titleView}>
                    <TouchableOpacity
                        onPress={()=>Actions.pop("PersonalCenterTabPage")}
                        style={styles.goBackView}>
                        <Image
                            source={ImageUtil.WhiteGoBack}
                            style={styles.goBackImg}/>
                    </TouchableOpacity>
                    <Text style={styles.titleMsg}>认证</Text>
                </View>
                <View style={styles.auditImgView}>
                    <View style={styles.auditView}>
                        <Text style={styles.auditMsg}>审核中</Text>
                    </View>
                </View>
                <View style={{alignItems:'center',marginTop:50}}>
                    <View style={{height:241,width:309,backgroundColor:'#f0f0f0',borderRadius:5}}>

                    </View>
                </View>
            </View>
        );
    }
}

const styles = StyleSheet.create({
    container: {
        flex: 1,
        backgroundColor:'#ffffff'
    },
    titleView:{
        backgroundColor:'#000000',
        width:width,
        alignItems:'center',
        justifyContent:'center',
        height:Platform.OS==='ios'?64:44
    },
    titleMsg:{
        fontSize:17,
        color:'#ffffff',
        marginTop:Platform.OS==='ios'?34:14,
        marginBottom:29/2
    },
    goBackView:{
        position: 'absolute',
        top:Platform.OS==='ios'?65/2:25/2,left:15,
    },
    goBackImg:{
        height:20,
        width:20
    },
    auditImgView:{
        marginTop:12,
        justifyContent:'center',
        alignItems:'center'
    },
    auditView:{
        height:74,
        width:74,
        borderRadius:37,
        backgroundColor:'#3090dd',
        justifyContent:'center',
        alignItems:'center'
    },
    auditMsg:{
        fontSize:17,
        color:'#ffffff'
    }
});
